/*
 * 文 件    名:  OrderPaypalModel.java
 * 创建日期:  2012-11-23下午4:56:44
 * 版          权:  Epro Technologies Co., Ltd. Copyright 2011-2012,  All rights reserved
 * 作          者:  yw66009
 */
package com.weipu.common.facade.model;

import java.io.Serializable;
import java.util.List;

/** 
 * @Description 订单支付
 * @version [版本号, 2012-11-23]
 * @see [相关类/方法]
 * @since [产品/模块版本]
 * 
 * @author yw66009
 */
public class OrderPayModel implements Serializable
{
    
    /**
     * 
     */
    private static final long serialVersionUID = -1762156396056126466L;
    
    OrderModel.ShipAddress ShippingAddress;
    
    boolean AddressOverride;
    
    String CurrencyCode="USD";
    
    String CustomerID;
    
    String Token;
    
    float HandlingTotal;
    
    List<Lines> Lines;
    
    String ShippingMethod="SuperSaver";
    
    float ItemsTotal;
    
    String OrderNumber;
    
    float OrderTotal;
    
    //部分支付支付金额
    double DueAmount;
    
	String PaymentAction="Purchase";
    
    String ReturnUrl;
    
    float ShippingTotal;
    
    String Device;
    
    //是否清除购物车
    boolean IsClearCart;
    
    //优惠券
    String CouponCode;
    
    String SalesChannelType="Retail";
    
	public String getCouponCode() {
		return CouponCode;
	}

	public void setCouponCode(String couponCode) {
		CouponCode = couponCode;
	}

	public boolean isIsClearCart() {
		return IsClearCart;
	}

	public void setIsClearCart(boolean isClearCart) {
		IsClearCart = isClearCart;
	}

	public void setLines(List<Lines> lines)
    {
        Lines = lines;
    }
    
    public List<Lines> getLines()
    {
        return Lines;
    }
    
    public OrderModel.ShipAddress getShippingAddress()
    {
        return ShippingAddress;
    }
    
    public void setShippingAddress(OrderModel.ShipAddress shippingAddress)
    {
        ShippingAddress = shippingAddress;
    }
    
    public String getPaymentAction()
    {
        return PaymentAction;
    }
    
    public void setPaymentAction(String paymentAction)
    {
        PaymentAction = paymentAction;
    }
    
    public Float getShippingTotal()
    {
        return ShippingTotal;
    }
    
    public void setShippingTotal(Float shippingTotal)
    {
        ShippingTotal = shippingTotal;
    }
    
    public Float getHandlingTotal()
    {
        return HandlingTotal;
    }
    
    public void setHandlingTotal(Float handlingTotal)
    {
        HandlingTotal = handlingTotal;
    }
    
    public float getOrderTotal()
    {
        return OrderTotal;
    }
    
    public void setOrderTotal(float orderTotal)
    {
        OrderTotal = orderTotal;
    }
    
    public double getDueAmount() {
		return DueAmount;
	}

	public void setDueAmount(Double dueAmount) {
		DueAmount = dueAmount;
	}
    
    public String getOrderNumber()
    {
        return OrderNumber;
    }
    
    public void setOrderNumber(String orderNumber)
    {
        OrderNumber = orderNumber;
    }
    
    public String getCustomerID()
    {
        return CustomerID;
    }
    
    public void setCustomerID(String customerID)
    {
        CustomerID = customerID;
    }
    
    public String getToken() {
		return Token;
	}

	public void setToken(String token) {
		this.Token = token;
	}

	public boolean isAddressOverride()
    {
        return AddressOverride;
    }
    
    public void setAddressOverride(boolean addressOverride)
    {
        AddressOverride = addressOverride;
    }
    
    public String getCurrencyCode()
    {
        return CurrencyCode;
    }
    
    public void setCurrencyCode(String currencyCode)
    {
        CurrencyCode = currencyCode;
    }
    
    public float getItemsTotal()
    {
        return ItemsTotal;
    }
    
    public void setItemsTotal(float itemsTotal)
    {
        ItemsTotal = itemsTotal;
    }
    
    public String getReturnUrl()
    {
        return ReturnUrl;
    }
    
    public void setReturnUrl(String returnUrl)
    {
        ReturnUrl = returnUrl;
    }
    
    public String getDevice() {
		return Device;
	}

	public void setDevice(String device) {
		Device = device;
	}

    
    @Override
    public String toString()
    {
        return "OrderPaypalModel [ShippingAddress=" + ShippingAddress + ", AddressOverride=" + AddressOverride
            + ", ShippingMethod=" + ShippingMethod + ", CurrencyCode=" + CurrencyCode + ", CustomerID=" + CustomerID
            + ", HandlingTotal=" + HandlingTotal + ", Lines=" + Lines + ", ItemsTotal=" + ItemsTotal + ", OrderNumber="
            + OrderNumber + ", OrderTotal=" + OrderTotal + ", PaymentAction=" + PaymentAction + ", ReturnUrl="
            + ReturnUrl + ", ShippingTotal=" + ShippingTotal +", Device=" + Device + ", SalesChannelType="+SalesChannelType+"]";
    }
    
}
